From e79137e23ddc1538859739b45afe56d2865e3a59 Mon Sep 17 00:00:00 2001 From: Anton Gladky Date: Thu, 10 Dec 2020 17:26:40 +0100 Subject: [PATCH] Fix FTBFS against freetype 2.10.4. (Closes: #976975) --- .../patches/90_fix_freetype_compilation.patch | 19 +++++++++++++++++++ debian/patches/series | 1 + 2 files changed, 20 insertions(+) create mode 100644 debian/patches/90_fix_freetype_compilation.patch diff --git a/debian/patches/90_fix_freetype_compilation.patch b/debian/patches/90_fix_freetype_compilation.patch new file mode 100644 index 000000000..9c09fb122 --- /dev/null +++ b/debian/patches/90_fix_freetype_compilation.patch @@ -0,0 +1,19 @@ +Description: Fix FTBFS against freetype 2.10.4 +Author: mathstuf +Reviewed-By: Anton Gladky +Bug-Debian: https://bugs.debian.org/976975 +Forwarded: https://github.com/Kitware/VTK/commit/3edc0de2b04ae1e100c229e592d6b9fa94f2915a +Last-Update: 2020-12-10 + +--- vtk9-9.0.1+dfsg1.orig/Rendering/FreeType/vtkFreeTypeTools.cxx ++++ vtk9-9.0.1+dfsg1/Rendering/FreeType/vtkFreeTypeTools.cxx +@@ -378,8 +378,7 @@ FTC_CMapCache* vtkFreeTypeTools::GetCMap + } + + //---------------------------------------------------------------------------- +-FT_CALLBACK_DEF(FT_Error) +-vtkFreeTypeToolsFaceRequester( ++static FT_Error vtkFreeTypeToolsFaceRequester( + FTC_FaceID face_id, FT_Library lib, FT_Pointer request_data, FT_Face* face) + { + #if VTK_FTFC_DEBUG_CD diff --git a/debian/patches/series b/debian/patches/series index a0024c2a3..d204b798f 100644 --- a/debian/patches/series +++ b/debian/patches/series @@ -6,3 +6,4 @@ 60_fix_path_perl.patch 70_fix_python_numpy_warning.patch 80_allow_gles_platforms.patch +90_fix_freetype_compilation.patch -- 2.30.2